package org.cliff.message.platform.core.businessinfo;

import javax.servlet.http.HttpServletRequest;

/**
 * 业务信息提取器接口定义
 * @author 刘文
 * @date 2023/9/28
 */
public interface IBusinessInfoRetriever {

    /**
     * 抽取业务信息
     * @param requestBody 被标注为@RequestBody 的请求对象
     * @param request     http请求
     * @return 业务信息
     */
    BusinessInfo retrieveBusinessInfo(Object requestBody, HttpServletRequest request);
}
